Skip to content

Other apps is one choice: Coderhelm's apps or fully private - #341

Merged
nambok merged 2 commits into
mainfrom
one-apps-choice
Nov 9, 2026
Merged

nambok merged 2 commits into
mainfrom
one-apps-choice

Conversation

@nambok

@nambok nambok commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Settings, System, Hybrid, Other apps is now one choice: Use Coderhelm's apps (easiest) or Fully private. Each option has one short line, followed by the tools it covers, which are listed from the gateway's catalog. The install guide offers the same choice. This pairs with CoderHelm/coderhelm-platform#523.

Changes

  • hybrid-section.tsx: one segmented choice, its line, and chips for the tools it covers (Figma appears among them). Below that are short lines for "No app needed", "Always through Coderhelm's app" and "Not through Coderhelm". The per-tool paragraphs are gone.
  • lib/hybrid.ts: adds appTools, appsModeOf (which reads an older gateway from integrations), appsModePatch and APPS_MODES. Removes appChoice and the stale HOSTED_CHOICES.
  • hybrid-app-choice.tsx: GitHub keeps its switch. Other tools (Jira, the knowledge add flow, the Figma card) show which app the install uses and link to the one choice.
  • Every save sends apps_mode together with the same choice per tool, so an older gateway still applies it. The new gateway ignores the per-tool copy.
  • Install guide:
    • The per-tool toggles are replaced with the one choice, and the tools it covers (Figma included) are named in its line.
    • Fully private hides the Jira link toggle and never sends jira_link.
    • A saved guide with per-tool choices maps once: any tool on means Coderhelm's apps, all off means Fully private.
  • openapi-fields.ts: regenerated at the platform's main. The hybrid routes are not in the OpenAPI document, so this only bumps the pinned commit.

Verification

  • npx tsc --noEmit -p . passes in both the dashboard and the docs.
  • npm run lint passes in the dashboard.
  • npm run openapi:fields -- --ref main and npm run check:openapi pass.
  • Playwright:
    • Dashboard: hybrid.spec.ts, knowledge-app-choice.spec.ts and selfhost-links.spec.ts all pass. New tests cover:
      • one choice for every catalog tool, with Figma among the Coderhelm apps and not in "No app needed"
      • a new Hosted entry is on with no choice to make
      • Fully private
      • an older gateway
      • a tool with its own app, and a tool that isn't offered yet
    • Docs: install.spec.ts, 49 passed. New tests cover the one choice, migration from saved per-tool choices, and the body sent for an older install.

Settings, System, Hybrid shows one choice with a line per option and the
tools it covers, listed from the gateway's catalog (Figma included). Tool
pages say which app the install uses and link to the choice; GitHub keeps
its own. The install guide offers the same choice. Both send apps_mode and,
for an install on an earlier release, the same choice per tool.
@nambok
nambok merged commit 1352a74 into main Nov 9, 2026
10 checks passed
@nambok
nambok deleted the one-apps-choice branch November 9, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant